package com.ysy.persimmons.common.exception;

/**
 * 内部认证异常
 *
 * @author ruoyi
 */
public class InnerAuthException extends RuntimeException
{

    private static final long serialVersionUID = 1L;

    // 异常码
    private String errorCode;
    // 错误信息
    private String errorMessage;

    public InnerAuthException(BaseExceptionInterface baseExceptionInterface) {
        this.errorCode = baseExceptionInterface.getErrorCode();
        this.errorMessage = baseExceptionInterface.getErrorMessage();
    }

}
